// 1.1 setToken
const TOKEN_KEY = 'KNOW_TOKEN'

export const TokenKit = {
  SET_TOKEN: (token: string) => {
    localStorage.setItem(TOKEN_KEY, token)
  },
  GET_TOKEN: () => {
    return localStorage.getItem(TOKEN_KEY)
  },
  REMOVE_TOKEN: () => {
    localStorage.removeItem(TOKEN_KEY)
  },
}

// export const SET_TOKEN = (token:string) => {
//     localStorage.setItem(TOKEN_KEY,token)
// }

// export const GET_TOEKN = () =>{
//     localStorage.getItem(TOKEN_KEY)
// }
